<%@ Page AutoEventWireup="true" CodeFile="ExportStudentsForPlacementTypeToExcel.aspx.cs"
    EnableEventValidation="false" Inherits="Export_ExportStudentsForPlacementTypeToExcel"
    Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="gvAllocatedStudents" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="UserName" HeaderText="UserName" SortExpression="UserName" />
                <asp:BoundField DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" />
                <asp:BoundField DataField="LastName" HeaderText="LastName" SortExpression="LastName" />
                <asp:BoundField DataField="CompletionStatusId" HeaderText="CompletionStatusId" SortExpression="CompletionStatusId" />
                <asp:BoundField DataField="VenueName" HeaderText="VenueName" SortExpression="VenueName" />
            </Columns>
        </asp:GridView>
    
    </div>
        <asp:ObjectDataSource ID="odsAllocatedStudents" runat="server" OldValuesParameterFormatString="original_{0}"
            SelectMethod="SelectAllWPlacementTypeId" TypeName="PlacementManager.vwAllocationsWVenuesComponent">
            <SelectParameters>
                <asp:QueryStringParameter DefaultValue="1" Name="placementTypeId" QueryStringField="PlacementTypeId"
                    Type="Int32" />
                <asp:Parameter DefaultValue="LastName" Name="sortExpression" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </form>
</body>
</html>
